package com.maixin.code.entity;


/**
 * Usermenu entity. @author MyEclipse Persistence Tools
 */

public class Usermenu implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private Integer id;
	private Integer userid;
	private Integer menuid;
	private Integer parentid;

	// Constructors

	/** default constructor */
	public Usermenu() {
	}

	/** full constructor */
	public Usermenu(Integer userid, Integer menuid, Integer parentid) {
		this.userid = userid;
		this.menuid = menuid;
		this.parentid = parentid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getMenuid() {
		return this.menuid;
	}

	public void setMenuid(Integer menuid) {
		this.menuid = menuid;
	}

	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

}